package com.qersoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qersoft.entity.Paper;
import com.qersoft.entity.WQBankEntity;

import java.util.List;


public interface PaperService extends IService<Paper> {
    boolean savePaper(Paper paper);
    boolean updatePaper(Paper paper);
    boolean deletePaperById(Long id);
    Paper getPaperById(Long id);
    List<Paper> getPapersByTitle(String title);
    IPage<Paper> getPapersByPage(int currentPage, int pageSize);
    List<Paper> getAllPapers();


}